import request from "@/utils/requests.js";

export function getGroomList(data) {
    return request.get('room/list', data, {
        noAuth: true
    });
}

export function getTripDetail(id) {
    return request.get('trip/detail/' + id, {}, {
        noAuth: true
    });
}

/**
 * 获取分类列表
 *
 */
export function getCategoryList() {
    return request.get('category', {}, {
        noAuth: true
    });
}

/**
 * 获取产品列表
 * @param object data
 */
export function getProductslist(data) {
    return request.get('trips', data, {
        noAuth: true
    });
}
